package com.demo.dao;

import java.sql.SQLException;
import java.util.List;

import com.demo.bean.Category;

public interface ICategoryDao {
	List<Category> page(int index, int limit) throws SQLException;
	boolean add(Category category) throws SQLException;
	boolean update(Category category) throws SQLException;
	boolean delete(int id) throws SQLException;
	Integer count();
}
